Part Number Hot Search : 
IRHN7230 T111006 C220MC MC13025 D5032 MN3718AT MD87C51 PQ3RD083
Product Description
Full Text Search
 

To Download XYF480272C-TP Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  0.1 preliminary new release 2011-12-27 http://www..net/ datasheet pdf - http://www..net/
lcd module numbering system XYF480272C-TP xyf xyf technology 480272 serials number for sm 480 columns vs. 272 rows c version of pcb tp touch panel http://www..net/ datasheet pdf - http://www..net/
table of content 1 basic specifications 5 2 mechanical specifications 5 3 4-w ire spi interface 6 4 terminal function 8 5 electrical characteristics 8 6 function specifications 10 6.1 a profile of characteristics 10 6.2 resetting the lcd module 10 6.3 transmission protocol 11 7 instructions 17 8 font 51 8.1 internal font rom 51 8.2 external font rom 55 8.2 cgrom 57 9geometric patt ern drawing engine 59 10.touch panel function 87 11 design and handling pr ecaution 91 http://www..net/ datasheet pdf - http://www..net/
1.basic specifications 1. supply voltage vdd= +3.3v 2% 2. dots480 rgb x272 3. 4.3 inch 4. working temperature -20 -- +70 5. storage temperature -30 -- +80 6. 4-wire spi interface 2.mechanical specifications item specification unit overall size 124.0 x 69.0 x 10.6t mm viewing area 98.7 x 57.15 mm dot number 480(rgb) x272 dots http://www..net/ datasheet pdf - http://www..net/
outline dimension drawing 3.4-wire spi interface http://www..net/ datasheet pdf - http://www..net/
the int output for mcu to indicate the status of lcm http://www..net/ datasheet pdf - http://www..net/
4.terminal functions ???? 1 vss negative power supply,ground(0v) 2 vdd positive power supply(+3.3v) 3 /rst reset signal input 4 scs spi chip select 5 sdo spi data output 6 sdi spi data input 7 scl spi clock 8 int interrupt signal output 5.electrical characteristics 1. limit parameters 1.1 electrical limit parameters items symbol typ min max unit operating voltage vdd C vss 3.3 2.8 3.8 v input high voltage vi - 2.7 3.8 v 1.2 environmental limit parameters items symbol condition min. max. unit working temp topr -20 70 deg c storage temp ttsg -normal temp. version- -30 80 deg c http://www..net/ datasheet pdf - http://www..net/
2. dc characteristics at ta=25 deg c, vdd = 3.3v items symbol min. typ. max. unit operating voltage vdd-vss - 2.8 3.3 3.5 v v-ih h level 2.7 - 3.5 v input voltage (forscs,sdo, sdi,sck) v-il l level vss - 0.6 v lcd idd - - 300 350 ma 6. function specifications 6.1 introduction XYF480272C-TP is a te xt/graphic mixed display with 2 layers tft lcd.the advanced geometric spe ed-up engine provides use r an easy way to draw the programmable geometric shapes by ha rdware,like line,square,c ircle and ellipse.besides,for different end-user applications, many powerful functions a re integrated with the lcm,such as scroll function,floati ng window display,graphic pattern and font enlargement function. these function will sa ve user a large of effort during developm ent period. 6.2 resetting the lcd module before programming the lcm,its suggested that a reset process should be done.the lcm requires a reset low pulse at least 27us. http://www..net/ datasheet pdf - http://www..net/
6.3 transmission protocol sdi is the data pin from the spi master,sdo is the data output from the spi slave. about the detail protocol,please refer to figure. data write on 4-wire spi-bus sck<=4mhz http://www..net/ datasheet pdf - http://www..net/
data read on 4-wi re spi-bus sck<=4mhz http://www..net/ datasheet pdf - http://www..net/
cmd(command) write on 4-wire spi-bus sck<=4mhz status read on 4- wire spi-bus sck<=4mhz 6.4 interrupt there are 2 kinds of interrupt events for lcm,each maps to the corresponding status bits in reg[f1h]: touch event occurs.bit 2 of reg[f1h] is set to 1. the font access is completed.bit 0 of reg[f1h] is set to 1. all of the above interrupts function can be enable/disable by setting intc1( reg[f0h]),in addition,if the system of customer can not provide the hardware interrupt,the lcm also supports a software polling method;mcu can detect the http://www..net/ datasheet pdf - http://www..net/
interrupt status through the related status flag.when hardware interrupts of lcm are active,the related interrupt masks must be disable first.there is an example for describing the interrupt procedure of touch panel as below lcm sends an interrupt signal to mcu. when mcu receives interrupt signal,the program counter(pc) will jump to isr start address. in the mean time,the corresponding interrupt status flag of lcm will be set to 1(reg[f1h]).for example,when touch event generates an interrupt,the touch panel interrupt status bit will be set to 1. after the isr completes,the status flag should be cleared ,i.e.,write 1 to the corresponding bit of status register. by software interrupt,user can read intc2 register for detecting interrupt event without any external device.besides,interrupt mask function is only applied to hardware interrupt,not to intc2 status flag.it should be noted that,intc2 status flag must be cleared manually at the tail of isr,i.e.,writing the bit2 of register intc2(reg[f1h])with 1,because the intc2 status flag will not be cleared automatically. 6.5 data format the lcm supports the 16-bit color depth tft-lcd panle,.i.e 65k colors tft lcd panel. color illustrations fo r 8-bit data bus mcu http://www..net/ datasheet pdf - http://www..net/
7.instructions 7-1 the categories of the instruction registers no. command registers address 1 system and configuration registers [01h],[02h],[04h] ,[10h]-[1fh] 2 lcd display control registers [20h]-[29h] 3 active window setting registers [30h]-[3fh] 4 cursor setting registers [40h]-[4eh] 5 not used [50h]-[67h] 6 touch panel control registers [70h]-[74h] 7 graphic cursor setti ng registers [80h]-[85h] 8 pll setting registers [88h]-[89h] 9 pwm control registers [8ah]-[8eh] 10 drawing control registers [90h]-[ach] 11 floating window control registers [d0h]-[dbh] 12 serial flash control registers [e0h]-[e2h] 13 interrupt control registers [f0h]-[f1h] 7-2 status register status register(stsr) bit ? ?? access 7 memory read/write busy(include font write busy) 0 no memory read/write event. 1 memory read/write busy. 0 ro 6 na 0 ro 5 touch panel event detected 0 touch panel is not touched 1 touch panel is touched. this bit comes from the tp controller adet signal directly and not de-bounced.i t?s suggested to check the validation for multiple polling. 0 ro 4 sleep mode status 0 lcm in normal mode. 1 lcm in sleep mode 0 ro 3-0 na 0 ro note:ro: read(read only) http://www..net/ datasheet pdf - http://www..net/
7-3 system & configuration register reg[01h] power and disp lay controller register(pwrr) bit description default access 7 lcd display off 0 display off. 1display on. 0 rw 6-2 na 0 ro 1 sleep mode 0 normal mode. 1sleep mode. 0 rw 0 software reset 0 no action 1software reset note:the bit must be set to 1 and then set to 0 to complete a software reset. 0 rw note rw:read or write reg[02h]memory read/write command(mrwc) bit description default access 7-0 write function memory write data read function memory read data -- rw reg[04h]pixel clock register(pcsr) bit description default access 7 pclk inversion 0 pdat is fetched at pclk rising edge. 1 pdat is fetched at pclk falling edge. 0 rw 6-2 na 0 ro 1-0 pclk period setting 00b:pclkperiod=system clock period. 01b:pclk period=2 times of system clock period. 10b:plck period=4 times of system clock period. 11b:pclk period=8 times of system clock period. 0 rw http://www..net/ datasheet pdf - http://www..net/
reg[05h]serial rom confi guration register(sroc) bit description default access 7 na 0 rw 6 serial rom address mode 0 24 bits address mode 1 32 bits address mode 0 rw 5 serial rom waveform mode 0mode 0 1mode 3 0 rw 4-0 na 0 rw reg[06h]serial rom clk setting register(sfclr) bit description default access 7-2 na 0 ro 1-0 serial rom clock frequency setting 0xb:sfcl frequency=system clock frequency 10b:sfcl frequency= system clock frequency /2 11b:sfcl frequency= system clock frequency /4 0 rw reg[10h]system configur ation register(sysr) bit description default access 7-4 na 0 rw 3-2 color depth setting 00b:8-bpp generic tft,i.e.256 colors 1*b:16-bpp generic tft,i.e.65k colors 0 rw 1-0 n 0 rw reg[14h]lcd horizontal disp lay width register(hdwr) bit description default access 7 na 0 ro 6-0 horizontal display wi dth setting bit[6:0] the register specifies the lcd panel horizontal display width in the uint of 8 pixels resolution. horizontal display width pixel=(hdwr+1)*8 0 rw reg[15h]horizontal non-display period fine tuning option register(hndftr) bit description default access 7 de polarity 0high active 1low active 0 rw 6-4 na 0 ro http://www..net/ datasheet pdf - http://www..net/
3-0 horizontal non-di splay period fine tuning(hndft)[3:0] this register specifies the fine tuning for horizontal non-display period;it is used to support the sync mode panel.each level of this modulation is 1-pixel 0 rw reg[16h]lcd horizontal non-display period register(hndr) bit description default access 7-5 na 0 ro 4-0 horizontal non-displa y period(hndp)bit[4:0] this register specifies th e horizontal non-display period. horizontal non-display period (pixel)=(hndr+1)*8+hndftr 0 rw reg[17h]hsync start pos ition register(hstr) bit description default access 7-5 na 0 ro 4-0 hsync start position[4:0] the starting position from the end of display area to the beginning of hsync.each level of this modulation is 8-pixel. hsync start position(pixel)=(hstr+1)*8 0 rw reg[18h]hsync pwm register(hpwr) bit description default access 7 hsync polarity 0low active 1high active 0 rw 6-5 na 0 ro 4-0 hsync pulse width(hpw) [4:0] hsyn pulse width (pixel)=(hpwr+1)*8 0 rw reg[19h]lcd vertical displa y height register(vdhr0) bit description default access 7-0 vertical display height bit[7:0] vertical display height(line)={vdhr1,vdhr0}+1 0 rw reg[1ah]lcd vertical displa y height register0(vdhr1) bit description default access 7-1 na 0 ro 0 vertical display height bit[8] vertical display height(line)={vdhr1,vdhr0}+1 0 rw http://www..net/ datasheet pdf - http://www..net/
reg[1bh]lcd vertical non-di splay period register(vndr0) bit description default access 7-0 vertical non-display period bit[7:0] vertical non-display period(line)={vndr1,vndr0}+1 0 rw reg[1ch]lcd vertical non-di splay period register(vndr1) bit description default access 7-1 na 0 ro 0 vertical non-display period bit[8] vertical non-display period(line)={vndr1,vndr0}+1 0 rw reg[1dh]vsync start po sition register(vstr0) bit description default access 7-0 vsync start position [7:0] the starting position from the endof display area to the beginning of vsync. vsync start position(line)={vstr1,vstr0}+1 0 rw reg[1eh]vsync start po sition register{vstr1} bit description default access 7-1 na 0 ro 0 vsync start position [8] the starting from the end of display area to the beginning of vsync. vsync start position(line)={vstr1,vstr0}+1 0 rw reg[1fh]vsync pwm register(vpwr) bit description default access 7 vsync polarity 0low active 1high active 0 rw 6-0 vsync pulse width [6:0] vsync pulse width(line)=(vpwr+1) 0 rw 7-4 lcd display control register reg[20h]display configuration register(dpcr) bit description default access 7 layer setting control 0one layer configuration is selected 1 two layers configuration is selected 0 rw http://www..net/ datasheet pdf - http://www..net/
6-4 na 0 ro 3 hdir horizontal scan direction,for n=seg number. 0seg0 to seg(n-1) 1seg(n-1) to seg0 0 rw 2 vdir vertical scan direction,for n=com number 0com0 to com(n-1) 1com(n-1) to com0 0 rw 1-0 na 0 rw reg[21h]font control register 0(fncr0) bit description default access 7 cgram/cgrom font selection bit in text mode 0cgrom font is selected 1cgram font is selected 0 rw 6 na 0 rw 5 external/internal cgrom selection bit 0 internal cgrom is selected(reg[2fh] must be set 00h) 1 external cgrom is selected 0 rw 4-2 na 0 rw 1-0 font selection for internal cgrom 00iso8859-1 01iso8859-2 10iso8859-3 11 iso8859-4 0 rw reg[22h]font control register1(fncr1) bit description default access 7 full alignment selection bit 0 full alignment is disable. 1 full alignment is enable. 0 rw 6 font transparency 0 font with background color. 1 font with background transparency. 0 rw 5 na 0 rw 4 font rotation 0 normal 190 degree display 0 rw 3-2 horizontal font enlargement 00*1 01*2 0 rw http://www..net/ datasheet pdf - http://www..net/
10*3 11 *4 1-0 vertical font enlargement 00*1 01*2 10*3 11 *4 0 rw reg[23h]cgram select register(cgsr) bit description default access 7-0 cgram no. 0 rw reg[24h]horizontal scroll offset register 0(hofs0) bit description default access 7-0 horizontal displa y scroll offset[7:0] the display offset of the horizontal direction,changing the value will cause the effect of scrolling at horizontal direction 0 rw reg[25h]horizontal scroll offset register 1(hofs1) bit description default access 7-3 na 0 ro 2-0 horizontal display scroll offset[10:8] the display offset of the horizontal direction,changing the value will cause the effect of scrolling at horitontal direction. 0 rw reg[26h]vertical scroll of fset register 1(vofs0) bit description default access 7-0 vertical display scroll offset[7:0] the display offset of the ve rtical direction,changing the value will cause the effect fo scrolling at vertical direction. 0 rw reg[27h]vertical scroll of fset register 1(vofs1) bit description default access 7-2 na 0 ro 1-0 vertical display scroll offset[9:8] the display offset of the ve rtical direction,changing the value will cause the effect of scrolling at vertical direction. 0 rw http://www..net/ datasheet pdf - http://www..net/
reg[29h]font line distance setting register(fldr) bit description default access 7-5 na 0 ro 4-0 font line distance setting setting the font character line distance when setting memory font write cursor auto move(unit:pixel) 0 rw reg[2ah]font write cursor horizont al position register 0(f_curxl) bit description default access 7-0 font write cursor horizontal position[7:0] the setting of the horizontal cursor position for font writing 0 rw reg[2bh]font write cursor horizont al position register 1(f_curxh) bit description default access 7-2 na 0 ro 1-0 font write cursor horizontal position[9:8] the setting of the horizontal cursor position for font writing 0 rw reg[2ch]font write cursor vertic al position register 0(f_curyl) bit description default access 7-0 font write cursor vertical position[7:0] the setting of the vertical cursor position for font writing 0 rw reg[2dh]font write cursor vertic al position regist er 1(f_curxh) bit description default access 7-2 na 0 ro 1-0 font write cursor vertical position[9:8] the setting of the vertical cursor position for font writing 0 rw http://www..net/ datasheet pdf - http://www..net/
reg[2eh]font write type setting register bit description default access 7-6 font size setting full size half-size variabble width 00b 16*16 8*16 n*16 01b 24*24 12*24 n*24 1*b 32*32 16*32 n*32 0 rw 5-0 font to font width setting 00h:font width off 01h:font to font width=1 pixel 02h:font to font width=2 pixel : 3fh::font to font width=63 pixels 0 rw reg[2fh]serial font rom setting bit description default access 7-5 100b 0 ro 4-0 na 0 rw 7-5 active window & scroll window setting registers reg[30h]horizontal start point 0 of active window(hsaw0) bit description default access 7-0 horizontal start point of active window[7:0] 0 rw reg[31h]horizontal start point 1 of active window(hsaw1) bit description default access 7-2 na 0 ro 1-0 horizontal start point of active window[9:8] 0 rw reg[32h]vertical start point 0 of active window(vsaw0) bit description default access 7-0 vertical start point of active window[7:0] 0 rw reg[33h]vertical start point 1 of active window(vsaw1) bit description default access 7-1 na 0 ro 0 vertical start point of active window[8] 0 rw http://www..net/ datasheet pdf - http://www..net/
reg[34h]horizontal end point 0 of active window(heaw0) bit description default access 7-0 horizontal end point of active window[7:0] 0 rw reg[35h]horizontal end point 1 of active window(heaw1) bit description default access 7-2 na 0 ro 1-0 horizontal end point of active window[9:8] 0 rw reg[36h]vertical end point of active window 0(veaw0) bit description default access 7-0 vertical end point of active window[7:0] 0 rw reg[37h]vertical end point of active window 1(veaw1) bit description default aceess 7-1 na 0 ro 0 vertical end point of active window[8] 0 rw active window reg[38h]horizontal start poin t 0 of scroll window(hssw0) bit description default access 7-0 horizontal start point of scroll window[7:0] 0 rw reg[39h]horizontal start poin t 1 of scroll window(hssw1) bit description default access 7-2 na 0 ro 1-0 horizontal start point of scroll window[9:8] 0 rw http://www..net/ datasheet pdf - http://www..net/
reg[3ah]vertical start poin t 0 of scroll window(vssw0) bit description default access 7-0 vertical start point of scroll window[7:0] 0 rw reg[3bh]vertical start poin t 1 of scroll window(vssw1) bit description default access 7-1 na 0 ro 0 vertical start point of scroll window[8] 0 rw reg[3ch]horizontal end poin t 0 of scroll window(hesw0) bit description default access 7-0 horizontal end point of scroll window[7:0] 0 rw reg[3dh]horizontal end poin t 1 of scroll window(hesw1) bit description default access 7-2 na 0 ro 1-0 horizontal end point of scroll window[9:8] 0 rw reg[3eh]vertical end poin t 0 of scroll window(vesw0) bit description default access 7-0 vertical end point of scroll window[7:0] 0 rw reg[3fh] vertical end poin t 1 of scroll window(vesw1) bit description default access 7-1 na 0 ro 0 vertical end point of scroll window[8] 0 rw scroll window http://www..net/ datasheet pdf - http://www..net/
7-6 cursor setting registers reg[40h]memory write control register 0(mwcr0) bit description default access 7 text mode enable 0graphic mode. 1 text mode. 0 rw 6 font write cursor/memory write cursor enable 0 font write cursor/text write cursor is not visible. 1 font write cursor/text write cursor is visible 0 rw 5 font write cursor/memory write cursor blink enable 0 normal display 1blink display 0 rw 4 na 0 ro 3-2 memory write direction(only for graphic mode) 00 left->right then top->down. 01 right->left then top->down. 10 top->down then left->right. 11 down->top then left->right. 0 rw 1 memory write cursor auto-increase disable 0 cursor auto-increases when memory write. 1 cursor doesn?t auto-increases when memory write 0 rw 0 memory read cursor auto-increase disable 0 cursor auto-increases when memory read. 1 cursor doesn?t auto-increases when memory read. 0 rw reg[41h]memory write control register1(mwcr1) bit description default access 7 graphic cursor enable 0graphic cursor disable. 1graphic cursor enable. 0 rw 6-4 graphic cursor selection bit select one from eight grapic cursor types. 000graphic cursor set 1 001graphic cursor set 2 010graphic cursor set 3 111 graphic cursor set 8 0 rw 3-2 write destination selection 00layer 1-2 0 rw http://www..net/ datasheet pdf - http://www..net/
01cgram 10 graphic cursor. 11 pattern 1 na 0 ro 0 layer no.for writing selection 0:layer 1. 1:layer 2. 0 rw reg[44h]blink time control register(btcr) bit description default access 7-0 text blink time setting(unit:frame) 00h 1 frame time 01h 2 frame time 02h 3 frame time : : : ffh 256 frame time 0 rw reg[45h]memory read cu rsor direction(mrcd) bit description default access 7-2 na 0 rw 1-0 memory read direction(only for graphic mode) 00b:left->right then top->down. 01b:right->left then top->down. 10b:top->down then left->right. 11b:down->top then left->right. 0 rw reg[46h]memory write cursor horiz ontal position register 0(curh0) bit description default access 7-0 memory write cursor horizontal location[7:0] 0 rw reg[47h]memory write cursor horiz ontal position register 1(curh1) bit description default access 7-2 na 0 ro 1-0 memmory write cursor horizontal location[9:8] 0 rw reg[48h]memory write cursor vertical position register 0(curv0) bit description default access 7-0 memory write cursor vertical location[7:0] 0 rw http://www..net/ datasheet pdf - http://www..net/
reg[49h]memory write cursor vertical position register(curv1) bit description default access 7-1 na 0 ro 0 memory wirte cursor vertical location[8] 0 rw reg[4ah]memory read cursor horiz ontal position register 0(rcurh0) bit description default access 7-0 memory read cursor horizontal location[7:0] 0 rw reg[4bh]memory read cursor horiz ontal position register 1(rcurh01) bit description default access 7-2 na 0 ro 1-0 memory read cursor horizontal location[9:8] 0 rw reg[4ch]memory read cursor vert ical position register 0(rcurv0) bit description default access 7-0 memory read cursor vertical location[7:0] 0 rw reg[4dh]memory read cursor vert ical position register 1(rcurv1) bit description default access 7-1 na 0 ro 0 memory read cursor vertical location[8] 0 rw reg[4eh]font write cursor and memory write cursor horizontal size register(curhs) bit description default access 7-5 na 0 ro 4-0 font write cursor vertical size setting[4:0] unit:pixel note:when font is enlarged,the cursor setting will multiply the same times as the font enlargement. 0 rw reg[4eh]font write cursor ve rtical size register(curvs) bit ? ?? access 7-5 na 0 ro 4-0 ??? ??????????? ?? 0 rw 7-7 touch panel control registers reg[70h]touch panel control register 0(tpcr0) http://www..net/ datasheet pdf - http://www..net/
bit description default access 7 touch panel enable bit 0:disable 1:enable 0 rw 6-4 tp sample time adjusting 000b:wait 512 system clock period for adc data ready. 001b: wait 1024 system clock period for adc data ready. 010b: wait 2048 system clock period for adc data ready. 011b: wait 4096 system clock period for adc data ready. 100b: wait 8192 system clock period for adc data ready. 101b: wait 16384 system clock period for adc data ready. 110b: wait 32768 system clock period for adc data ready. 111b: wait 65536 system clock period for adc data ready. 0 rw 3 touch panel wakeup enable 0:disable the touch panel wake-up function. 1:touch panel can wake-up the sleep mode. 0 rw 2-0 adc clock setting 000b:system clk 001b: (system clk) /2 010b: (system clk)/4 011b: (system clk)/8 100b: (system clk)/16 101b: (system clk)/32 110b: (system clk)/64 111b: (system clk)/128 0 rw reg[71h]touch panel control register 1(tpcr1) bit description default access 7 na 0 ro 6 tp manual mode enable 0:auto mode. 1:using the manual mode. 0 rw 5 tp adc reference voltage source 0:vref generated from internal circuit. no external voltage is needed. 1:vref from external source,1/2 vdd is needed for adc. 0 rw 1-0 mode selection for tp manual mode 00b:idle mode: touch pa nel in idle mode. 01b:wait for tp event,touch panel event could cause the interrupt or be read from reg[f1h]bit2. 10b:latch x data,in the phase,x data can be latched in reg[72h] and reg[74h]. 11b:latch y data,in the phase, y data can be latched in reg[73h] and reg[74h]. 0 rw http://www..net/ datasheet pdf - http://www..net/
reg[72h]touch panel x high byte data register(tpxh) bit description default access 7-0 touch panel x data bit[9:2] 0 rw reg[73h]touch panel y high byte data register(tpyh) bit description default access 7-0 touch panel y data bit[9:2] 0 rw reg[74h]touch panel x/y low by te data register(tpxyl) bit description default access 7 adet touch event detector 0:touch panel is touched. 1:touch panel is not touched. 1 ro 6-4 na 0 ro 3-2 touch panel y data bit[1:0] 0 rw 1-0 touch panel x data bit[1:0] 0 rw 7-8 graphic cursor setting registers reg[80h]graphic cursor horizontal position register 0(gchp0) bit description default access 7-0 graphic cursor horizontal location[7:0] 0 rw reg[81h]graphic cursor horizontal position register 1(gchp1) bit description default access 7-2 na 0 ro 1-0 graphic cursor horizontal location [9:8] 0 rw reg[82h]graphic cursor vertical position register 0(gcvp0) bit description default access 7-0 graphic cursor vertical location[7:0] 0 rw reg[83h]graphic cursor vertical position register 1(gcvp1) bit description default access 7-1 na 0 ro 0 graphic cursor vertical location [8] 0 rw http://www..net/ datasheet pdf - http://www..net/
reh[84h]graphic cursor color 0(gcc0) bit description default access 7-0 graphic cursor color 0 with 256 colors rgb format[7:0]=rrrgggbb. 0 rw reg[85h]graphic cursor color 1(gcc1) bit description default access 7-0 graphic cursor color 1 with 256 colors rgb format[7:0]=rrrgggbb. 0 rw 7-9 pll setting registers reg[88h]pll control register 0(pllc0) bit description default access 7 plldivm 0divided by 1. 1divided by 2. sys_clk=fin*(plldivn[4: 0]+1)/((plldivm+1)*( 2^plldivk(2:0)) 0 rw 6-5 na 0 ro 4-0 plldivn[4:0] pll input parameter,the value should be 1-31. 07h rw reg[89h] pll control register 1(pllc1) bit description default access 7-3 na 0 ro 2-0 plldivk[2:0] pll output divider 000divided by 1 001divided by 2 010divided by 4 011 divided by 8 100divided by 16 101divided by 32 110 divided by 64 111 divided by 128 02h rw 7-11 pwm control registers XYF480272C-TP use pwm control the backlight. http://www..net/ datasheet pdf - http://www..net/
reg[8ah]pwm control register(p1cr) bit description default access 7 pwm1 enable 0disable. 1enable. 0 rw 6 pwm1 disable level 0 pwm1 is normal l when pwm disable or sleep mode. 1 pwm1 is normal h when pwm disable or sleep mode. the bit is only usable when p1cr bit 4 is 0. 0 rw 5 reserved 0 ro 4 pwm function selection 0 pwm function. 1 pwm output a fixed frequency signal and it is equal to 1/16 oscillator clock. pwm=fin/16 rw 3-0 pwm clock source divide ratio 0000b:sys_clk/1 1000b:sys_clk/256 0001b:sys_clk/2 1001b:sys_clk/512 0010b:sys_clk/4 1010b:sys_clk/1024 0011b:sys_clk/8 1011b:sys_clk/2048 0100b:sys_clk/16 1100b:sys_clk/4096 0101b:sys_clk/32 1101b:sys_clk/8192 0110b:sys_clk/64 1110b:sys_clk/16384 0111b:sys_clk/128 1111b:sys_clk/ 32768 0 rw reg[8bh]pwm duty cycle register(p1dcr) bit description default access 7-0 pwm cycle duty selection bit 00h:1/256 duty with pwm1 clock source. 01h:2/256 duty with pwm1 clock source. 02h:3/256 duty with pwm1 clock source. : 0 rw http://www..net/ datasheet pdf - http://www..net/
: : feh:255/256 duty with pwm1 clock source. ffh:256/256 duty with pwm1 clock source. pwm waveform reg[8eh]memory clear control register(mclr) bit description default access 7 memory clear function 0 end or stop.when write 0 to this bit lcm will stop the memory clear function.or if read back this bit is 0,it indicates that memory clear function is complete. 1 start the memory clear function. 0 rw 6 memory clear area setting 0 clear the full window. 1 clear the active window 0 rw 5-0 na 0 ro 7-12 drawing control registers reg[90h]draw line/circle/squa re control register(dcr) bit description default access 7 draw line/square/triangle start signal write function 0 stop the drawing function. 1 start the drawing function. read function 0drawing function complete. 1drawing function is processing. 0 rw draw circle start signal write function http://www..net/ datasheet pdf - http://www..net/
6 0 stop the circle drawing function. 1 start the circle drawing function. read function 0 circle drawing function complete. 1circle drawing function is processing. 0 rw 5 fill the circle/square/triangle signal 0 non fill. 1fill. 0 rw 4 draw line or square select signal 0 draw line. 1draw square. 0 rw 3-1 na 0 ro 0 draw triangle or line/square select signal 0:draw line or square 1:draw triangle 0 rw drawing function parameter reg[91h]draw line/square horizontal start address register 0(dlhsr0) bit description default access 7-0 draw line/square horizont al start address[7:0] 0 rw reg[92h]draw line/square horizontal start address register 1(dlhsr1) bit description default access 7-2 na 0 ro 1-0 draw line/square horizont al start address[9:8] 0 rw http://www..net/ datasheet pdf - http://www..net/
reg[93h]draw line/square vertical start address register 0(dlvsr0) bit description default access 7-0 draw line/square vertical start address[7:0] 0 rw reg[94]draw line/square vertical start address register 1(dlvsr1) bit description default access 7-1 na 0 ro 0 draw line/square vertical start address[8] 0 rw reg[95h]draw line/square horizontal end address register 0(dlher0) bit description default access 7-0 draw line/square horizontal end address[7:0] 0 rw reg[96h]draw line/square horizontal end address register 1(dlher1) bit description default access 7-2 na 0 ro 1-0 draw line/square horizontal end address [9:8] 0 rw reg[97h]draw line/square vertical end address register 0(dlver0) bit description default access 7-0 draw line/square vertical end address[7:0] 0 rw reg[98h]draw line/square vertical end address register 1(dlver1) bit description default access 7-1 na 0 ro 0 draw line/square vertical end address [8] 0 rw reg[99h]draw circle center horizo ntal address register 0(dchr0) bit description default access 7-0 draw circle center hori zontal address[7:0] 0 rw reg[9ah]draw circle center horizo ntal address register 1(dchr1) bit description default access 7-2 na 0 ro 1-0 draw circle center horizontal address [9:8] 0 rw reg[9bh]draw circle center ver tical address register 0(dcvr0) bit description default access 7-0 draw circle center vertical address[7:0] 0 rw http://www..net/ datasheet pdf - http://www..net/
reg[9ch]draw circle center ver tical address register 1(dcvr1) bit description default access 7-1 na 0 ro 0 draw circle center ve rtical address [8] 0 rw reg[9dh]draw circle radius register(dcrr) bit description default access 7-0 draw circle radius[7:0] 0 rw reg[a0h]draw ellipse/ellipse curve/circle square control register bit description default access 7 draw ellipse/circle square start signal write function 0 stop the drawing function. 1 start the drawing function. read function 0drawing function complete. 1drawing function is processing. 0 rw 6 fill the ellipse/circle square signal 0 non fill. 1 fill. 0 rw 5 draw ellipse/ellipse curve or circle square select signal 0 draw ellipse/ellipse curve. depend on bit4 1draw circle square. 0 rw 4 draw ellipse or ellipse curve select signal 0draw ellipse 1 draw ellipse curve 0 rw 3-2 na 0 ro 1-0 draw ellipse curve part select(decp) 0 rw http://www..net/ datasheet pdf - http://www..net/
?? reg[a1h]draw ellipse/circle square long axis setting register(ell_a0) bit description default access 7-0 draw ellipse/circle square long axis[7:0] 0 rw reg[a2h]draw circle radius register(ell_a1) bit description default access 7-2 na 0 ro 1-0 draw ellipse/circle square long axis [9:8] 0 rw reg[a3h]draw ellipse/circle square short axis setting register(ell_b0) bit description default access 7-0 draw ellipse/circle square short axis [7:0] 0 rw reg[a4h]draw ellipse/circle square short axis setting register(ell_b1) bit description default access 7-1 na 0 ro 0 draw ellipse/circle square short axis [8] 0 rw http://www..net/ datasheet pdf - http://www..net/
reg[a5h]draw ellipse/circle square center horizontal address register0(dehr0) bit description default access 7-0 draw ellipse/circle square center horizontal address[7:0] 0 rw reg[a6h]draw ellipse/circle square center horizontal address register1(dehr1) bit description default access 7-2 na 0 ro 1-0 draw ellipse/circle square center horizontal address [9:8] 0 rw reg[a7h]draw ellipse/circle square center vertical address register0(devr0) bit description default access 7-0 draw ellipse/circle square center vertical address [7:0] 0 rw reg[a8h]draw ellipse/circle square center vertical address register1(devr1) bit description default access 7-1 na 0 ro 1-0 draw ellipse/circle square center vertical address [8] 0 rw reg[a9h]draw triangle point 2 hori zontal address register0(dtph0) bit description default access 7-0 draw triangle point 2 horizontal address[7:0] 0 rw reg[aah]draw triangle point 2 horiz ontal address register1(dtph1) bit description default access 7-2 na 0 ro 1-0 draw triangle point 2 horizontal address [9:8] 0 rw reg[abh]draw triangle point 2 vert ical address register0(dtpv0) bit description default access 7-0 draw triangle point 2 vertical address [7:0] 0 rw reg[ach]draw triangle point 2 vert icall address register1(dtpv1) bit description default access 7-1 na 0 ro 0 draw triangle point 2 vertical address [8] 0 rw http://www..net/ datasheet pdf - http://www..net/
7-13 floating window control registers reg[d0h]floating windows start address xa 0(fwsaxa0) bit description default access 7-0 floating windows start address xa[7:0] 0 rw reg[d1h]floating windows start address xa1(fwsaxa1) bit description default access 7-2 na 0 rw 1-0 floating windows start address xa[9:8] 0 rw reg[d2h] floating windows start address ya0 (fwsaya0) bit description default access 7-0 floating windows start address ya[7:0] 0 rw reg[d3h]floating windows start address ya1(fwsaya1) bit description default access 7-1 na 0 rw 0 floating windows start address ya[8] 0 rw reg[d4h] floating windows width 0 (fww0) bit description default access 7-0 floating windows width setting[7:0] 0 rw reg[d5h]floating windows width1(fww1) bit description default access 7-2 na 0 rw 1-0 floating windows width setting [9:8] 0 rw reg[d6h] floating windows height 0 (fwh0) bit description default access 7-0 floating windows height setting[7:0] 0 rw reg[d7h]floating windows height1(fwh1) bit description default access 7-2 na 0 rw 1-0 floating windows height setting [9:8] 0 rw http://www..net/ datasheet pdf - http://www..net/
reg[d8h] floating windows disp lay x address 0 (fwdxa0) bit description default access 7-0 floating windows display x address[7:0] 0 rw reg[d9h]floating windows disp lay x address1(fwdxa1) bit description default access 7-2 na 0 rw 1-0 floating windows display x address [9:8] 0 rw reg[dah] floating windows disp lay y address 0 (fwdya0) bit description default access 7-0 floating windows display y address [7:0] 0 rw reg[dbh]floating windows disp lay y address1(fwdya1) bit description default access 7-1 na 0 rw 0 floating windows display y address [8] 0 rw 7-13 interrupt control registers reg[f0h]interrupt cont rol register1(intc1) bit description default access 7-3 na 0 ro 2 touch panel interrupt enable bit 0:disable touch interrupt. 1:enable touch interrupt. 0 rw 1-0 na 0 rw http://www..net/ datasheet pdf - http://www..net/
reg[f1h]interrupt cont rol register2(intc2) bit description default access 7-3 na 0 ro 2 write function->touch panel interrupt clear bit 0:no operation. 1:clear the touch interrupt read function->touch panel interrupt status 0:no touch panel interrupt happens 1:touch panel interrupt happens. 0 rw 1-0 na 0 rw .font 8-1 internal font rom XYF480272C-TP embedded 8*16 dots asc font rom that provides user a convenient way to input characters by code.the embe dded character set support iso/iec 8859-1~4 coding stardard..besides,user can choose the font fo reground color by setti ng the reg[60h~62h] and background color by setting the reg[ 63h~65h].for the procedure of char acters writing please refers to below figure: h asc font rom programming procedure 1 shows the standard character encoding of iso/ iec 8859-1.iso means international organization for standardization.the iso/iec 8859-1,generally called?lati n-1?,is the first 8-bit co ded character sets that developed by the iso.it refers to ascii that consis ting of 192 characters from the latin script in range 0xa0-0xff.this character encoding is us ed throughout western europe,includes http://www..net/ datasheet pdf - http://www..net/
albanian,afrikaans,breton,faroes,fr isian,galician,german,greenlandic ,lcelandic,irish,italian,latin, luxembourgish,norwegian,portugues e,rhaeto-romanic,scottish gaelic,spanish,swedish.english letters with no accent marks also can use iso/iec 8859-1. in addition,it is also commonly used in many languages outside europe,such as swahili,indonesian,malaysian and tagalong. 1 asc block 1(iso 8859-1) 2 shows the standard characters of iso/iec 8859-2.iso/iec 8859-2 also cited as latin-2 is the part 2 of the 8-bit coded character sets developed by iso/ie c 8859.these code values can be used in almost any data interchange system to co mmunicate in the following european languages:croatian,czech,hungarian,p olish,slovak,slovenian,and upper sorbian.the serbian,enalish, german,latin can use iso/iec 8859-2 as well.furthemo re it is suitable to represent some western european languages lik finnish(with the excep tion fo a used in swedish and finnish) http://www..net/ datasheet pdf - http://www..net/
figure 2 figure 3 shows the standard character s of iso/iec 8859-3.iso/iec 8859-3 also known as latin-3 or ?south european?is an 8-bit charact er encoding,third part of the iso/iec 8859 standard.it was designed originally to c over turkish,maltese and esperanto,though the introduction of iso/iec 8859-9 superseded it fo r turkish.the encoding remains popular with users of esperanto and malte se,though it also supports eng lish,german,italian,latin and portuguese. http://www..net/ datasheet pdf - http://www..net/
figure 3 figure 4 shows the standard character s of iso/iec 8859-4.iso/iec 8859-4 is known as latin-4 or ?north european?is the forth part of the iso/iec 8859 8- bit character encoding. it was designed originally to cover estoni an,greenlandic, latvian,lithuanian,and sami this character set also supports danish ,english,finnish,german,la tin,norwegian,slovenian, and swedish. http://www..net/ datasheet pdf - http://www..net/
figure 4 8-2 cgram XYF480272C-TP supports 256 half size space that lets us er can create fonts or symbols the want.user just writes the font or symbol data to the indicat ed space and then writes the corresponding font code, lcm will write the font or sym bol to the ddram.also,user can choose the font foreground color by setting the reg[63h~65h] and background color by setting the reg[60h~62h].the procedure of creating and writing just refe rs to below figure: http://www..net/ datasheet pdf - http://www..net/
cgram programming procedure cgram description http://www..net/ datasheet pdf - http://www..net/
9. geometric patter n drawing engine 9-1 circle input XYF480272C-TP supports hardware circle drawing function on the ddram.user can largely reduce the effort mcu by the function.by setting the center of circle reg[99h~9ch],the radius of a circle reg[9dh] and the color of circle reg[63h~65h], and then setting start draw reg[90h]bit6=1,lcm will implements a corresponding circle on the ddram automatically.moreover.user can decide whether to fill the circle by setting reg[90h]bit5 as 0(not fill)or 1(fill).the procedure of drawing circle just regers to the below figure: geometric pattern draw ing-draw circle 9-2 ellipse input XYF480272C-TP supports draw ellipse drawing function makes user to draw ellipse on the ddram only use bu few mcu cycles.by setting the center of ellipse reg[a5h-a8h], the long and short axis of ellipse reg[a1h-a4],the color of ellipse reg[63h-65h],the draw ellipse condition reg[a0h]bit5=0 and bit4=0,and then setting start draw reg[a0h]bit7=1,lcm will draw a corresponding ellipse on the ddram.moreover,user can fill the circle by setting reg[a0h]bit6=1.the procedure of drawing ellipse just refers to the below figure: http://www..net/ datasheet pdf - http://www..net/
figure 9-3 curve input XYF480272C-TP supports curve drawing function for user to draw curve on the ddram only by few mcu cycles.by setting the center of a curve reg[a5-a8h],the long and short axis of a curve reg[a1-a4],the color of curve reg[63h-65h],the draw curve condition reg[a0h]bit5=0 and bit4=1,the curve part of the ellipse reg[a0h]bit[1:0], and then setting start draw reg[a0h]bit7=1,lcm will draw a corresponding curve on the ddram.moreover,user can fill the curve by setting reg[a0h] bit6 =1.the procedure of drawing circle just refers to the below figure: http://www..net/ datasheet pdf - http://www..net/
figure 9-4 square input XYF480272C-TP supports square drawing function for user to draw curve on the ddram only by few mcu cycles.by setting the center of a curve reg[91h-94h],the end point of a square reg[95h-98h] and the color of a square reg[63h-65h],then setting draw a square reg[90h]bit4=1,bit0=0 and start draw reg[90h]bit7=1,lcm will draw a corresponding square on the ddram.moreover,user can fill the square bu setting reg[90h]bit5=1.the procedure of drawing square just refers to the below figure: http://www..net/ datasheet pdf - http://www..net/
geometric pattern draw ing-draw rectangle 9-5 line input XYF480272C-TP supports line drawing function for user to draw curve on the ddram only by few mcu cycles.by setting the start point of a line reg[91-94h], the end point of a line reg[95h-98h] and the color of a line reg[63h-65h],then setting draw a square reg[90h]bit4=0,bit0=0 and start draw reg[90h]bit7=1,lcm will draw a corresponding line on the ddram. the procedure of drawing square just refers to the below figure: http://www..net/ datasheet pdf - http://www..net/
geometric pattern draw ing-draw line 9-6 triangle input XYF480272C-TP supports square drawing function for user to draw line on the ddram only by few mcu cycles.by setting the point0 of a triangle reg[91h-94h],the point1 of a triangle reg[95h-98h],the point2 of a triangle reg[a9h-ach] and the color of a triangle reg[63h-65h],then setting draw a triangle reg[90h]bit7=1,lcm will draw a corresponding triangle on the ddram.moreover,user can fill the square bu setting reg[90h]bit5=1.the procedure of drawing square just refers to the below figure: http://www..net/ datasheet pdf - http://www..net/
figure 9-7 square of cir cle corner input XYF480272C-TP supports circle-square drawing function for user to draw circle square on the ddram only by few mcu cycles.by setting the point of a square reg[91h-94h], the end point of a square reg[95h-98h] circle corner reg[a1h-a4h] and the color of a circle square reg[63h-65h],,then setting draw a circle square reg[a0h]bit5=1 and start draw reg[a0h]bit7=1,lcm will draw a corresponding circle square on the ddram.moreover,user can fill the square bu setting reg[a0h]bit6=1.the procedure of drawing square just refers to the below figure: http://www..net/ datasheet pdf - http://www..net/
figure 10.touch panel function there are 2 detection methods provided by lcm.ha rdware interrupt mode or software polling mode. 10-1-1 auto mode auto mode is the easiest way to implement touch pa nel application.user only need s to enable the related register and lcm will execute the touch panel f unction and latch the touch data automatically. operation mode event detection description interrupt when touch event happens,read the corresponding x,y coordination. auto polling polling the touch even t,read the correspondingx,y coordination. manual interrupt set the operation state to ?checking touch event?for checking the touch event,when touch event interrupt happens,set the state to ?latch_x_data?and?latch_y_data?for latching the corresponding x,y coordination,then read the x,y data http://www..net/ datasheet pdf - http://www..net/
and set operation stat e to ?idle state? polling ????? ? xy ? auto mode flowchart for touch panel reg. bit_num description reference tpcr0 bit7 enable touch panel function reg[70h] bit6 ?auto-mode?=0 tpcr1 bit2 set de-bounce enable for adet reg[71h] tpxh bit[7:0] touch panel seg data msb byte reg[72h] tpyh bit[7:0] touch panel com data msb byte reg[73h] bit[3:2] touch panel com data lsb 2bit tpxyl bit[1:0] touch panel seg data lsb 2bit reg[74h] 10-1-2 manual mode under the ?manual mode?,user needs to justify the validation of the touch event by continue polling the status of register.generally,an enough times of continue accessing the activity of touch event from status register will be confirmed as a valid touch event.th e method allows more flexibility and lee mistake of justification for different application,but more mcu resource will be occupied. http://www..net/ datasheet pdf - http://www..net/
reg. bit_num description tpcr0 bit7 enable touch panel function bit6 ?manual-mode=1? bit2 set de-bounce function for adet tpcr1 bit[1:0] mode selection for tp manual mode tpxh bit[7:0] touch panel seg data msb byte tpyh bit[7:0] touch panelcom dat msb byte bit[3:2] touch panel com data lsb 2bit tpxyl bit[1:0] touch panel seg data lsb 2bit 10-1-3 external interrupt mode under this mode lcm hardware interrupt pin(int)must be connected correctly to the mcu interrupt input pin first .the majo r processes are listed as follows: 1 enable touch panel function. reg[70h]bit7=1 2 set operation mode for tp controller as au to mode or manual mode(reg[71h]bit6=1) 3 enable touch panel interrupt.(reg[f0h]bit6=1) 4 when interrupt asserts,the ip jumps to the entry of isr and check if tp interrupt 5 if yes,according to the operation mode,doing the data latch for x,y axis 6process the corresponding jobs for the touch event 7clear the interrupt status bit 10-1-4 software polling mode under the ?polling mode?,no interrupt pin is needed for connection.the status of touch event can be read from 3 methods.listed as follows: 1 from the status register(stsr)bit5. reg[70h]bit7=1 2from tpxyl(reg[74h])bit7. 3 from the intc2(reg[f1h]bit2. 10-1-5 touch panel sampling time refernce table when using the auto mode of touch panel function,a nd the touch event occurri ng,lcm adapts a specific wait time for x,y data stability.it is recommended to select a suitable t/p sampling time to avoid the mistake of adc data latch.please refer to the following table for the adc sampling time touch panel sampling time-reg[70h]bit[6:4] sys-clk 10m 20m 30m 40m 5 0m http://www..net/ datasheet pdf - http://www..net/
reg[70h][2:0] 000 000 -- -- -- -- 001 000 -- -- -- -- 010 000 000 000 -- -- 011 001 001 000 000 000 100 010 010 001 001 001 101 011 011 010 010 010 110 100 100 011 011 011 111 101 101 100 100 100 note the clock source of adc can not exceed10mhz 11. design and handling precaution 1 the lcd panel is made by glass .any mechan ical shock will damage the lcd module. 2 do not add excessive force on the surface of the di splay,which may cause the display color change abnormally. 3 the polarizer on the lcd is easily get scratched.if possible,do not remove the lcd protective film untile the last step of installation. 4 never attempt to disassemble or rework the lcd module. 5.only clean the lcd with isopropyl alcohol or et hy alcohol.other solvents may damage the lcd. http://www..net/ datasheet pdf - http://www..net/
http://www..net/ datasheet pdf - http://www..net/


▲Up To Search▲   

 
Price & Availability of XYF480272C-TP

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X